-- GENERATED SPELL FOR [Daggerfen Servant] --


function spell0_19733(pUnit, Event) --@Bandage,Heal--
pUnit:FullCastSpellOnTarget(35207,pUnit)
pUnit:RegisterEvent('Sorts_19733', 8000, 1)
end

function Sorts_19733(pUnit, Event)
local choix_sorts_19733 = math.random(0, 0)
if choix_sorts_19733 == 0 then
pUnit:RegisterEvent('spell0_19733', 1, 1)
end
end

function mob19733_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_19733', math.random(1500, 3000), 1)
end

function mob19733_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19733_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19733_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(19733, 1, 'mob19733_Action')
RegisterUnitEvent(19733, 2, 'mob19733_Leave')
RegisterUnitEvent(19733, 3, 'mob19733_Kill')
RegisterUnitEvent(19733, 4, 'mob19733_Die')
